<template>
	<view class="pages">
		<MakeList ref="MakeList" :type="1" :isPin="true" :isEdit="false"></MakeList>
		<MyTabBar active="free"></MyTabBar>
	</view>
</template>

<script>
	import MakeList from "@/components/MakeList/MakeList.vue"
	export default {
		components: {
			MakeList
		},
		data() {
			return {
				
			};
		},
		/**
		 * 下拉刷新
		 */
		onPullDownRefresh() {
			this.$refs.MakeList.init();
			
			setTimeout(function() {
				uni.stopPullDownRefresh();
			}, 1000);
		},
		/**
		 * 上拉加载
		 */
		onReachBottom(){
			console.log('页面到底了');
			this.$refs.MakeList.getLastPageData();
		}
	}
</script>

<style lang="scss" scoped>

</style>
